package com.wit.service.impl;

import java.util.List;

import com.wit.dao.AreaDao;
import com.wit.po.Area;
import com.wit.service.AreaService;

public class AreaServiceImpl implements AreaService {

	AreaDao areaDao;
	
	public Area getAreaById(String areaId)
	{
		return areaDao.getAreaById(areaId);
	}
	
	
	public boolean addArea(Area area) {
		
		return areaDao.addArea(area);
	}

	
	public List<Area> getAreaList() {

		return areaDao.getAreaList();
	}

	
	public boolean removeArea(Area area) {
	
		return areaDao.removeArea(area);
	}

	
	public boolean updateArea(Area area) {

		return areaDao.updateArea(area);
	}
	
	
	/*************** Getters and Setters******************/
	public AreaDao getAreaDao() {
		return areaDao;
	}

	public void setAreaDao(AreaDao areaDao) {
		this.areaDao = areaDao;
	}

}
